package com.itheima.Jiuye11;

import java.io.File;
import java.util.HashMap;

public class Test03 {
    public static void main(String[] args) {
        HashMap<String,Integer> map = new HashMap();
        File file = new File("mJiuYe\\Jiuye11");
        getcont(map,file);
    }

    private static void getcont(HashMap<String, Integer> map, File file) {
        File[] files = file.listFiles();
        for (File file1 : files) {
            if (file1.isFile()){
                String name = file1.getName();
                String[] split = name.split("\\.");
               // map.keySet(split[1]);
            }
        }

    }
}
